<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" contentType="text/html; charset=utf-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<% String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+request.getContextPath()+"/"; %>
<html> 
<jsp:include page="../head.jsp"></jsp:include>
<body>
<jsp:include page="Left.jsp"></jsp:include>
<br/><br/><br/><a href='../TbRoleModuleMiddleServlet?method=showadd'>添加</a><br/>
<table>
<tr>
    <td>角色编号</td>
    <td>模块编号</td>
    <td>用户操作</td>
    <td>权限添加时间</td>
    <td>修改</td>
    <td>删除</td>
</tr>
<c:forEach items="${sessionScope.tbRoleModuleMiddleList==null?'':sessionScope.tbRoleModuleMiddleList}" var="tbRoleModuleMiddle" varStatus="status">
<tr>
    <td>${tbRoleModuleMiddle.roleId}</td>
    <td>${tbRoleModuleMiddle.moduleId}</td>
    <td>${tbRoleModuleMiddle.userAction}</td>
    <td>${tbRoleModuleMiddle.createTime}</td>
    <td><a href='../TbRoleModuleMiddleServlet?method=listById&roleModuleMiddleId=${tbRoleModuleMiddle.roleModuleMiddleId}'>修改</a></td>
    <td><a href='' onclick='if(confirm("确定要删除?"))window.location="../TbRoleModuleMiddleServlet?method=del&delIds=${tbRoleModuleMiddle.roleModuleMiddleId}'>删除</a></td>
</tr>
</c:forEach>
</table>
<jsp:include page="../foot.jsp"></jsp:include>
</body></html>